package geektime.spring.springbucks.repository;

import geektime.spring.springbucks.mondel.CoffeeCache;

import java.util.Optional;

import org.springframework.data.repository.CrudRepository;

public interface CoffeeCacheRepository
        extends CrudRepository<CoffeeCache, Long> {

    Optional<CoffeeCache> findOneByName(String name);
}
